package com.demo.controller;
import com.demo.model.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;

//版本3——李四
@Controller
public class UserController3 {

    @Autowired
    private User user;

    public void doMethod(){
        System.out.println("UserController3：USer->"+user);
    }
}
